<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class WithdrawAuditListRecord
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $user_id
 * @property string $order_number
 * @property int $amount
 * @property int $coupon
 * @property int $validbet
 * @property int $left_validbet
 * @property int $withdraw_bet_principal
 * @property int $withdraw_bet_coupon
 * @property int $coupon_fee
 * @property int $admin_fee
 * @property bool $is_coupon_pass
 * @property bool $is_principal_pass
 * @property bool $is_no_check
 * @property \Carbon\Carbon $bet_time
 * @property \Carbon\Carbon $begin_time
 * @property \Carbon\Carbon $end_time
 * @property string $bet_detail
 * @property \Carbon\Carbon $created_at
 *
 * @package App\Models
 */
class WithdrawAuditListRecord extends Eloquent
{
	protected $table = 'withdraw_audit_list_record';
	public $timestamps = false;

	protected $casts = [
		'hall_id' => 'int',
		'user_id' => 'int',
		'amount' => 'int',
		'coupon' => 'int',
		'validbet' => 'int',
		'left_validbet' => 'int',
		'withdraw_bet_principal' => 'int',
		'withdraw_bet_coupon' => 'int',
		'coupon_fee' => 'int',
		'admin_fee' => 'int',
		'is_coupon_pass' => 'bool',
		'is_principal_pass' => 'bool',
		'is_no_check' => 'bool'
	];

	protected $dates = [
		'bet_time',
		'begin_time',
		'end_time'
	];

	protected $fillable = [
		'hall_id',
		'user_id',
		'order_number',
		'amount',
		'coupon',
		'validbet',
		'left_validbet',
		'withdraw_bet_principal',
		'withdraw_bet_coupon',
		'coupon_fee',
		'admin_fee',
		'is_coupon_pass',
		'is_principal_pass',
		'is_no_check',
		'bet_time',
		'begin_time',
		'end_time',
		'bet_detail'
	];
}
